/*
 * @Author: sunzhijun 
 * @Date: 2019-03-26 10:15:20 
 * @Last Modified by: sunzhijun
 * @Last Modified time: 2020-06-09 15:09:31
 */
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import { handleHash, getAppPageConfig } from 'src/hrpub/common/utils/utils';

import {
    createPage
} from 'nc-lightapp-front';

import ContractSign from './container';
const appcode = getAppPageConfig().appcode, pagecode = getAppPageConfig().pagecode;

const Wrapper =  handleHash('201908221110', `c=${appcode}&p=${pagecode}`)(createPage({
    // billinfo: [{
    //     billtype: 'form', 
    //     pagecode: appcode, 
    //     headcode: 'postcontCard'
    // },{
    //     billtype: 'form', 
    //     pagecode: appcode, 
    //     headcode: 'secrerycontCard'
    // },{
    //     billtype: 'extcard', 
    //     pagecode: appcode, 
    //     headcode: 'traincontCard',
    //     bodycode: [
    //         'traincontAgreeInfo',
    //         'traincontBusinessInfo',
    //         'traincontTrainInfo'
    //     ]
    // }]
})(ContractSign));
ReactDOM.render(<Wrapper/>, document.getElementById('app'));
